package Y2024.M12.D31;

import java.util.ArrayList;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-12-31
 * Time: 9:53
 */
public class Main {
    public static void main(String[]args){
        int i,s=0;
        int a[]={10,20,30,40,50,60,70,80,90};
        for(i=0;i<a.length;i++)
            if(a[i]%3==0)s+=a[i];
        System.out.println("s="+s);
    }
}
